$(function(){
	var fullEkran = $(window).height() - parseInt(40);
	$("#container").css("height",fullEkran+"px");
	$(".toggleBar").css("right","0px");
	$(".toggleBar").click(function(){
		var testDeneme = $(this).hasClass('highKapali');
		if(testDeneme){
			$(this).removeClass("highKapali");
			$("#container").css("display","block");
			$(".toggleBar").css("right","300px");
		}else{
			$(this).addClass("highKapali");
			$("#container").css("display","none");
			$(".toggleBar").css("right","0px");
		}		
	
	});
});